#ifndef VECTOR3F_
#define VECTOR3F_

#include <string>
#include <vector>
using namespace std;

struct vector3f {
    float v[3];
    float vn[3];
    vector3f(){}
    
    vector3f(float n[3]){
        v[0] = n[0];
        v[1] = n[1];
        v[2] = n[2];

        vn[0] = 1;
        vn[1] = 0;
        vn[2] = 0;
    }
    
    vector3f(float x, float y, float z) {
        v[0] = x;
        v[1] = y;
        v[2] = z;

        vn[0] = 1;
        vn[1] = 0;
        vn[2] = 0;

    }
    vector3f(float x, float y, float z, float nx, float ny, float nz) {
        v[0] = x;
        v[1] = y;
        v[2] = z;

        vn[0] = nx;
        vn[1] = ny;
        vn[2] = nz;
    }
    
    void print(string name){
		fprintf(stderr,"%s\t%.2f %.2f %.2f\n",name.c_str(),v[0],v[1],v[2]);
	}
};

#endif /*VECTOR3F_*/
